# -*- coding: utf-8 -*-

from webutils_wechat.exceptions import BaseAppException


class FrontendException(BaseAppException):
    # category
    # frontend: 20
    category = 'frontend'

    # sub category:
    #   - user.profile.update 01

    co_msg_mapping = {
        200150: {
            'message': 'Unexpected exception',
            'http_code': 500,
            'sub_category': 'user.profile.updating'
        },
    }